<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/commonforback.jsp"%>
<s:bean name="edu.isquen.core.department.action.DepartmentUtil"
	id="deptUtil"></s:bean>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Department Content</title>
<link rel="stylesheet" href="<o:Url value="/resource/css/back/main.css" />" style="text/css" media="all" />
</head>

<body>
<form action="<s:url value='/core/department/save.action' />"
	id="contentform" name="contentform" method="post">
<div id="contentAct">
	<input name="Submit" type="submit" value="保存">
	<input name="reset" type="reset" value="返回">
</div>
<div id="contentDiv">
	<%@ include file="/common/actionMsg.jsp"%>
	<input type="hidden" name="valObj.id" value="<s:property value='valObj.id' />" />
	<table id="contentTable" width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>部门名称：</td>
			<td>部门编码：</td>
		</tr>
		<tr>
			<td><input class="contentfield" id="name"
					name="valObj.name" type="text"
					value="<s:property value='valObj.name' />"></td>
			<td><input class="contentfield" id="code"
					name="valObj.code" type="text"
					value="<s:property value='valObj.code' />"></td>
		</tr>
		<tr>
			<td>上级部门：</td>
			<td>描述：</td>
		</tr>
		<tr>
			<td><s:select cssClass="contentfield" name="valObj.superior.id"
					theme="simple" list="#deptUtil.getDeptList()" value="#valObj.superior.id'" onchange=""></s:select></td>
			<td><input class="contentfield" id="description"
					name="valObj.description" type="text"
					value="<s:property value='valObj.description' />"></td>
		</tr>
	</table>
</div>
</form>
</body>
</html>
